package com.lmiot.xyclick.Util;

import android.app.Activity;
import android.content.Intent;

public class JumpActivityUtils {
    public static void JumpToActivity(Activity activity, Class<?> cls, boolean z, boolean z2) {
        Intent intent = new Intent(activity, cls);
        intent.setFlags(268566528);
        activity.startActivity(intent);
        if (z) {
            activity.finish();
        }
    }
}
